package com.example.administrator.xkproject

import android.content.Intent
import android.support.v7.app.AppCompatActivity
import android.os.Bundle
//import com.example.hlhjdraw.GoWebFgm
//import com.tenma.ventures.base.TMActivity

class MainActivity : AppCompatActivity() {
//class MainActivity : TMActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)
 /*       val goWebFgm = GoWebFgm()
        val transaction = supportFragmentManager.beginTransaction()
        transaction.replace(R.id.rp,goWebFgm)
        transaction.commit()*/
   /*     TMServerConfig.BASE_URL="http://tianma.wufenhuyu.com"
        TMSharedPUtil.saveTMToken(this,"460C7487F250F7A415A324EC81EA2B1D")
        val tmUser = TMUser()
        tmUser.member_code="D708FF06A9A60B7EDD75B3E861FDFFE4"
        tmUser.token=""
        TMSharedPUtil.saveTMUser(this,tmUser)
        val intent = Intent(this, DrawWebAty::class.java)
        val bundle = Bundle()
        bundle.putString(TMConstant.BundleParams.LOAD_URL, TMServerConfig.BASE_URL+"/application/hlhj_transferlottery/wap?token=${TMSharedPUtil.getTMToken(this)}&member_code=${TMSharedPUtil.getTMUser(this).member_code}");
        intent.putExtras(bundle)
        startActivity(intent)
        finish()*/
    }
}
